<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>课室安排</title>
		<link href="<%=basePath%>js/calendar/skins/aqua/theme.css"
			rel="stylesheet" />
		<link href="<%=basePath%>js/validate/jquery.validate.css"
			rel="stylesheet" />
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.4.2.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/validate/jquery.validate.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/validate/messages_cn.js"></script>
		<script type="text/javascript">
			$(function() {
				$("#classRoomInfoForm").validate( {
					rules : {
						"arrange.classRoom" : {
							required : true,
							maxlength : 50
						},
						"arrange.capacity" : {
							required:true,
							number:true,
							maxlength : 10
						}
					}
				})
			});
		</script>
	</head>

	<body bgcolor="#D6E0EF">
		<div align="center">
			<form name="classRoomInfoForm" id="classRoomInfoForm" method="post"
				action="BasicInfo!classRoomInfoSave">
				<table align="center">
					<tr>
						<td>
							课室名称：
						</td>
						<td align="left">
							<input type="text" name="arrange.classRoom"
								id="arrange.classRoom" value="" />
						</td>
					</tr>
					<tr>
						<td>
							课室类型：
						</td>
						<td align="left">
							<select name="arrange.roomType" id="arrange.roomType">
								<option value="1">
									普通教室
								</option>
								<option value="2">
									多媒休教室
								</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							容纳人数：
						</td>
						<td align="left">
							<input type="text" name="arrange.capacity"
								id="arrange.capacity" value="" />
						</td>
					</tr>
					<tr>
						<td>
							备&nbsp;&nbsp;&nbsp;&nbsp;注：
						</td>
						<td align="left">
							<input type="text" name="arrange.memo"
								id="arrange.memo" value="" />
						</td>
					</tr>
					<tr>
						<td></td>
						<td>
							<input type="submit" name="button" id="button" value="插入表数据" />
						</td>
					</tr>
				</table>
			</form>
		</div>
	</body>
</html>
